You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > Matrix Structure > Matrix Methods > Size Method > Matrix.Size Method ([In] int, [In] int, [In] TMtxVec)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Matrix.Size Method ([In] int, [In] int, [In] TMtxVec)

Specifies size of the matrix.

Syntax
C#
Visual Basic
public TMtx Size([In] int aRows, [In] int aCols, [In] TMtxVec aFloatPrecisionRef);

Set the following matrix properties: 

Rows = ARows, Cols = ACols and See cref="FloatPrecision"/> = aFloatPrecisionRef.FloatPrecision

Calling the Size method does not preserve the contents of the matrix. Use the Resize method, if you want to preserve existing values.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!